curl --write-out(-w) format
応答時間の測定に
code:txt
http_code %{http_code}\n
size_upload %{size_upload}\n
speed_upload %{speed_upload}\n
size_download %{size_download}\n
speed_download %{speed_download}\n
time_pretransfer %{time_pretransfer}\n
time_starttransfer %{time_starttransfer}\n
time_total %{time_total}\n
あとは、したのようなリクエストを羅列しておいて。
$ chmod +x reqs.sh; ./reqs.sh > out.xt
$ grep time_starttransfer out.txt
みたいにして、response time( time to first byte)を見る.
code:reqs.sh